<meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <style type="text/css" rel="stylesheet">
    form {
    margin: 0;
    }
    .editor {
    margin-top: 5px;
    margin-bottom: 5px;
    }
    .ke-content {
    font-family: Courier New;
    font-size: 12px;
    background-color: #ffffff;
}

  </style>
  <script type="text/javascript" charset="utf-8" src="/kindeditor/kindeditor.js"></script>
  <script type="text/javascript">
    KE.show({
        id : 'test_description',
        resizeMode :1,
        cssPath : '/kindeditor/examples/index.css',
        items : [
        'undo', 'redo', 'fontname', 'fontsize', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
        'removeformat', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
        'insertunorderedlist']
    });
  </script>
  <p style="margin: 5px 0pt;"><%=link_to  '测试管理' , :controller=>"surveys" ,:action=>"index"%> >>
<%=link_to '倾向测试管理' ,:controller=>"t_tests_manage" , :action=>"index"%> >>
show </p><br  />
<h1>Editing test</h1>

<% form_for(@test) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label :title %><br />
    <%= f.text_field :title %>
  </p>
  <p>
    <%= f.label :description %><br />
    <!--%= f.text_area :description %-->
    <textarea id="test_description" name="test[description]" style="width:500px;height:200px;visibility:hidden;"></textarea>
  </p>

  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', @test %> |
<%= link_to 'Back', tests_path %>
